com.mobileapptracker
public class UrlRequester extends Object
Constructor and Description |
---|
UrlRequester() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
requestUrl(String url,
JSONObject json)
Does an HTTP request to the given url, GET or POST based on whether json was passed or not
|
public JSONObject requestUrl(String url, JSONObject json)
url
- the url to hitjson
- JSONObject with event item and iap verification json, if not null or empty then will POST to url